import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Father4 from "../components/Father4";
import Father3 from "../components/Father3";
import Father2 from "../components/Father2";
import Father1 from "../components/Father1";
import ButtonCounterExample from "../components/ButtonCounterExample";


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/f4',
      name: 'f4',
      component: Father4
    },
    {
      path: '/f3',
      name: 'f3',
      component: Father3
    },

    {
      path: '/f2',
      name: 'f2',
      component: Father2
    },
    {
      path: '/f1',
      name: 'f1',
      component: Father1
    },

    {
      path: '/b1',
      name: 'b1',
      component: ButtonCounterExample
    }
  ]
})
